using System;

namespace EnvRide.Core.ObjectModel
{
    /// <summary>
    /// Element override modes. Controls how the EnvRide will process an element override.
    /// </summary>
    [Serializable]
    public enum ElementOverrideMode
    {
        /// <summary>
        /// Replaces the element with the content from the NewXml property.
        /// </summary>
        ReplaceElement,

        /// <summary>
        /// Appends the NewXml to the element referenced by the Xpah expression.
        /// </summary>
        AppendChild,

        /// <summary>
        /// Removes the element.
        /// </summary>
        RemoveElement,
    }
}